package com.bestescortbedsystem.dao;

import com.bestescortbedsystem.entity.SesBedType;
import com.bestescortbedsystem.entity.SesBedTypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author guanzepeng
 */
public interface SesBedTypeDao {
    long countByExample(SesBedTypeExample example);

    int deleteByExample(SesBedTypeExample example);

    int deleteByPrimaryKey(Long bedtypeid);

    int insert(SesBedType record);

    int insertSelective(SesBedType record);

    List<SesBedType> selectByExample(SesBedTypeExample example);

    SesBedType selectByPrimaryKey(Long bedtypeid);

    int updateByExampleSelective(@Param("record") SesBedType record, @Param("example") SesBedTypeExample example);

    int updateByExample(@Param("record") SesBedType record, @Param("example") SesBedTypeExample example);

    int updateByPrimaryKeySelective(SesBedType record);

    int updateByPrimaryKey(SesBedType record);
}
